package com.user.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author Forever
 * @since 2024-11-23
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("housework_dialog")
public class Dialog implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 对话ID
     */
    @TableId(value = "dialog_id", type = IdType.ASSIGN_ID)
    private Long dialog_id;

    /**
     * 发送者ID
     */
    private Long sender_id;

    /**
     * 接收者ID
     */
    private Long receiver_id;

    /**
     * 对话内容
     */
    private String user_dialog;

    /**
     * 发送时间
     */
    private LocalDateTime create_time;


}
